﻿using Wpf.Ui;
using Wpf.Ui.Controls;
using XC.WpfHost.Services.Contracts;
using XC.WpfHost.ViewModels;

namespace XC.WpfHost.Views
{
    /// <summary>
    /// LoginWin.xaml 的交互逻辑
    /// </summary>
    public partial class LoginWin: IWindow
    {
        public LoginWinWiewModel ViewModel { get; set; }

        public LoginWin(LoginWinWiewModel viewModel, ISnackbarService snackbarService)
        {
            ViewModel = viewModel;
            this.DataContext = this;

            InitializeComponent();

            snackbarService.SetSnackbarPresenter(SnackbarPresenter);

        }

    }
}
